package orgs.example.pojo;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

import java.util.Date;

@Data
public class Cancellation {

    private Integer cancelId;
    private Integer reserveId;
    private Date cancelOrdertime;
    private Double cancelAmount;
    @Pattern(regexp = "^('待审核'|'已退款'|'已拒绝')$")
    private String cancelStatus;
    private Integer cancelProcessid;
    private Date cancelProcesstime;
}
